package cool.qingqing.bean;

import cool.qingqing.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author 高山青
 * @Date 2021/12/30  -   19:11
 */
@Component
public class Day {
	@Value("昨天")
	private String first;
	@Value("明天")
	private String last;

	@Autowired
	private UserService userService;

/*
	public Day(String first, String last) {
		this.first = first;
		this.last = last;
	}
*/

/*	@Override
	public String toString() {
		//userService.add();
		return "Day{" +
				"first='" + first + '\'' +
				", last='" + last + '\'' +
				'}';
	}*/

	public Day() {
	}
}
